<?php

namespace Geo;

use Pinenut\Model2\Embedded\ReferenceContainer\One;
use Pinenut\Model2\Embedded\Reference;
use Pinenut\Model2\Finder;

class City extends \Model {
	public $geonameid;
	public $title;
	public $longTitle;
	public $latitude;
	public $longitude;
	public $countryCode;
	public $cityWithCountry;

	static function fields() {
		return array_merge ( parent::fields (), [ 
				'geonameid' => self::INT,
				'title' => self::STRING,
				'longTitle' => self::STRING,
				'latitude' => self::STRING,
				'longitude' => self::STRING,
				'countryCode' => self::STRING,
				'cityWithCountry' => self::STRING,
		] );
	}

}